package com.b.service;

import com.b.domain.WatchHistory;
import com.b.vo.Result;

import java.util.List;

public interface WatchHistoryService {


    int insert(WatchHistory record);

    int insertSelective(WatchHistory record);

    List<WatchHistory> getAll();

    int deleteByPrimaryKey(Integer id);

    WatchHistory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WatchHistory record);

    int updateByPrimaryKey(WatchHistory record);

    Result user_history_list(int userId, String title, Integer curPage, Integer pageSize);
}

